Practical Vim by Drew Neil

Practical Vim by Drew Neil

Author:Drew Neil [Neil, Drew]
Language: eng
Format: epub, pdf
Tags: Pragmatic Bookshelf
ISBN: 9781934356982
Publisher: The Pragmatic Bookshelf
Published: 0101-01-01T00:00:00+00:00


Chapter 10

Copy and Paste

Vim’s cut, copy, and paste functionality differs from what you may be used to. For a start, the terminology is different, as we’ll see in ​Vim’s Terminology Versus the World​. In Tip 59, we’ll learn how to use Vim’s delete, yank, and put commands for a handful of common cases.

Instead of dealing with a single system-wide clipboard, Vim provides a couple of dozen registers where we can store regions of text. We’ll learn more about Vim’s registers in Tip 60. Vim’s put command is smart about how it treats line-wise and character-wise text, as we’ll see in Tip 62. The put command has some interesting quirks when used from Visual mode, as we’ll discover in Tip 61.

Finally, in Tip 63, we’ll learn about how to use the system paste command inside Vim without producing strange effects.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.